package com.nbgroup.pojo.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonProperty;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.time.LocalDateTime;

@Data
public class DictDataVO {
    @ApiModelProperty("创建者")
    private String createBy;

    @ApiModelProperty("创建时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime createTime;

    @ApiModelProperty("CSS类名，可为空")
    private String cssClass;

    @ApiModelProperty("默认值，布尔类型，此处为false")
    @JsonProperty("default")
    private boolean defaultValue;

    @ApiModelProperty("字典编码")
    private int dictCode;

    @ApiModelProperty("字典标签")
    private String dictLabel;

    @ApiModelProperty("字典排序值")
    private int dictSort;

    @ApiModelProperty("字典类型")
    private String dictType;

    @ApiModelProperty("字典值")
    private String dictValue;

    @ApiModelProperty("是否为默认值，'N'表示否")
    private String isDefault;

    @ApiModelProperty("列表类名，可为空")
    private String listClass;

    @ApiModelProperty("状态")
    private String status;

    @ApiModelProperty("更新者，可为空")
    private String updateBy;

    @ApiModelProperty("更新时间，可为空")
    private String updateTime;
}
